package com.modificial.shiro.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author modificial
 * @date 2018/8/7
 * @company codingApi
 * @description
 */
@Data
@ToString
@ApiModel(description = "权限信息")
public class PermissionInfo implements Serializable {
    /**
     * 权限id
     */
    private  String  permissionId;
    /**
     * 权限名字
     */
    @ApiModelProperty(value = "权限名字")
    private String permissionName;
    /**
     * 上级id
     */
    @ApiModelProperty(value = "上级id")
    private String parentId;
    /**
     * 访问url
     */
    @ApiModelProperty(value = "访问路径")
    private String url;
    /**
     * 描述信息
     */
    @ApiModelProperty(value = "描述信息")
    private String description;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private int type;
    /**
     * 图标地址
     */
    @ApiModelProperty(value = "图标地址")
    private String icon;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private int sort;
}
